<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-webapp-status-bar-style" content="black-translucent" />
<link href="index.css" rel="stylesheet" type="text/css"> 
<title>Store Name Home - DealsAppalooza</title>

<?php 
$menufiles = file_get_contents("menufiles.html");
echo "$menufiles";
?>

</HEAD>
<body>
<?php 
$menuHTML = file_get_contents("menu.html");
echo "$menuHTML";
?>
<h1><span id="StoreName"></span></h1>
<script>
	var storename = getQuerystring('store', "");
	if (localStorage) {
		if(storename == ""){
			storename = localStorage.getItem("Storename");	
		} else {
			localStorage.setItem("Storename", storename);
		}
	} else {
		alert("No HTML5 local storage on this browser, this webpage requires an HTML5 enabled browser to run properly. Unless you really really like computer cookies, why not upgrade ?");
	}
	document.querySelector('#StoreName').innerHTML = storename + " : available actions";
</script>
<br />
 <a href="saleslistscreen.php">Show sales in Store</a><br />
<a href="shopping_list.php">Enter Shopping List</a><br />
<a href="filter.php">Sales filter</a><br />
<a href="saved.php">Saved Sales</a>

</body>
</html>